﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using FiFaChamps.Datahandle;

namespace FiFaChamps.Engine.Repository
{
    public class BaseRepo
    {
        public string Commiter(fifaChampsDataDataContext db, string msg)
        {
            try
            {
                db.SubmitChanges();
                return "Success: " + msg;
            }
            catch (Exception ex)
            {
                return "Error: " + ex.ToString();
            }
        }
    }
}
